package cn.chenxinjie.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 陈鑫杰
 * @date 2022/3/12 19:49
 */
@SpringBootApplication(scanBasePackages = "cn.chenxinjie.hrm")
@EnableEurekaClient
@MapperScan("cn.chenxinjie.hrm.mapper")
@EnableCaching
@EnableFeignClients
public class CourseAppServer {
    public static void main(String[] args) {
        SpringApplication.run(CourseAppServer.class);
    }
}
